package com.dmwork.service.message.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.dmwork.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 回复消息表
 * </p>
 *
 * @author 李天
 * @since 2021-05-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dm_comment_message")
@ApiModel(value="CommentMessage对象", description="回复消息表")
public class CommentMessage extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "消息所通知的用户的用户id")
    private String customerId;

    @ApiModelProperty(value = "评论id")
    private String commentId;

    @ApiModelProperty(value = "评论消息所属类型：0->作品评论，1->动态评论")
    private Integer type;

    @ApiModelProperty(value = "消息状态（0>未读，1->已读）")
    private Integer readStatus;

    @TableField("is_deleted")
    @TableLogic
    private Integer deleted;


}
